
lane :rspec_me do
  desc "Run all the rspec tests"
  sh("cd ..;bundle install")
  sh("cd ..;bundle exec rspec")
end

lane :rubocop do
  desc "Rubocop the whole project to ensure no style violations"
  sh("cd ..;bundle install")
  sh("cd ..;bundle exec rubocop")
end

lane :tslint do
  desc "TSLint the whole project to ensure no style violations"
  sh("cd ..;npm install")
  sh("cd ..;npm run lint")
end

lane :web_tests do
  desc "Unit tests for the web app"
  sh("cd ..;npm install")
  sh("cd ..;npm run test")
end
